package com.yantong.constant;

/**
 * 优惠券记录状态
 * @author kanghaixin
 * @date 2018/9/29.14:55
 */
public enum TicketStatus {

    DISABLED("已失效",-1),
    NO_USE("未使用",0),
    USED("已使用", 1)
    ;


    private String name;
    private Integer status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    TicketStatus(String name, Integer status) {
        this.name = name;
        this.status = status;
    }
}
